package com.chianghao.qyt.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName
public class BaseTenantAccount {

    /**
     * 主键
     */
    @TableId(type= IdType.ASSIGN_ID)
    private Long id;

    /**
     * 商户ID
     */
    private Long tenantId;

    /**
     * 账号
     */
    private String account;

    /**
     * 商户编号
     */
    private String tenantCode;


    /**
     * 密码
     */
    private String password;

    /**
     * 是否默认账号
     */
    private Boolean defaultAccount;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getDefaultAccount() {
        return defaultAccount;
    }

    public void setDefaultAccount(Boolean defaultAccount) {
        this.defaultAccount = defaultAccount;
    }


}
